package com.bw.dao;

import com.bw.bean.Major;
import com.bw.bean.Stu;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StuDao {

    int add(@Param("s")Stu stu);

    List<Major> list();
}
